﻿package com.Galaxisfarm {
	// Bibliotecas da game engine Flixel
	import com.adamatomic.flixel.*;
	
	public class BackgroundMataAtlantica extends FlxSprite {
		// Sprite do background do cerrado
		[Embed(source = "../../data/background_mata_atlantica.png")] private var ImgBackground:Class;
		
		// Método construtor
		public function BackgroundMataAtlantica(X:Number, Y:Number):void {
			// Carrega o sprite
			super(ImgBackground, X, Y, false, false, 640, 400);
			
			// Cria as animações
			addAnimation("normal", [0]);
			addAnimation("animate", [0, 1], 10);
		}
	}
}